package com.vhall.component.entity.interactive.vo;


import com.fasterxml.jackson.annotation.JsonProperty;
import com.vhall.component.framework.common.annotation.ParamName;

import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @author shenqing
 * @date 2021/4/15 10:48
 */
public class DocumentListReqVO extends ListReqVO implements Serializable {
    /**
     * paas房间id
     */
    @JsonProperty(value = "room_id")
    @ParamName("room_id")
    @Pattern(regexp = "[0-9a-zA-Z_]{1,32}", message = "参数异常")
    private String roomId;
    /**
     * 文档标题
     */
    @JsonProperty(value = "file_name")
    @ParamName("file_name")
    private String fileName;
    /**
     * 用户id
     */
    @JsonProperty(value = "account_id")
    @ParamName("account_id")
    private String accountId;


    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    @Override
    public String toString() {
        return "DocumentListReqVO{" +
                "roomId='" + roomId + '\'' +
                ", fileName='" + fileName + '\'' +
                ", accountId='" + accountId + '\'' +
                '}';
    }
}
